.class Lrexsee/multimedia/RexseeCameraPreview$2;
.super Lrexsee/multimedia/CameraPreviewDialog$OnCameraPreviewKeyDown;
.source "RexseeCameraPreview.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lrexsee/multimedia/RexseeCameraPreview;->start(Ljava/lang/String;I)Z
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lrexsee/multimedia/RexseeCameraPreview;


# direct methods
.method constructor <init>(Lrexsee/multimedia/RexseeCameraPreview;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lrexsee/multimedia/RexseeCameraPreview$2;->this$0:Lrexsee/multimedia/RexseeCameraPreview;

    .line 164
    invoke-direct {p0}, Lrexsee/multimedia/CameraPreviewDialog$OnCameraPreviewKeyDown;-><init>()V

    return-void
.end method


# virtual methods
.method public run(I)V
    .locals 5
    .param p1, "keyCode"    # I

    .prologue
    .line 167
    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lrexsee/multimedia/RexseeCameraPreview$2;->this$0:Lrexsee/multimedia/RexseeCameraPreview;

    iget-object v0, v0, Lrexsee/multimedia/RexseeCameraPreview;->previewDialog:Lrexsee/multimedia/CameraPreviewDialog;

    iget-object v0, v0, Lrexsee/multimedia/CameraPreviewDialog;->styleSheet:Lrexsee/core/style/StyleSheet;

    iget-object v0, v0, Lrexsee/core/style/StyleSheet;->window_cancelable:Ljava/lang/String;

    const-string v1, "true"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    .line 168
    iget-object v0, p0, Lrexsee/multimedia/RexseeCameraPreview$2;->this$0:Lrexsee/multimedia/RexseeCameraPreview;

    invoke-virtual {v0}, Lrexsee/multimedia/RexseeCameraPreview;->stop()Z

    .line 172
    :goto_0
    return-void

    .line 170
    :cond_0
    iget-object v0, p0, Lrexsee/multimedia/RexseeCameraPreview$2;->this$0:Lrexsee/multimedia/RexseeCameraPreview;

    # getter for: Lrexsee/multimedia/RexseeCameraPreview;->mBrowser:Lrexsee/core/browser/Browser;
    invoke-static {v0}, Lrexsee/multimedia/RexseeCameraPreview;->access$0(Lrexsee/multimedia/RexseeCameraPreview;)Lrexsee/core/browser/Browser;

    move-result-object v0

    iget-object v0, v0, Lrexsee/core/browser/Browser;->eventList:Lrexsee/core/browser/clazz/EventList;

    const-string v1, "onCameraPreviewKeyDown"

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/String;

    const/4 v3, 0x0

    invoke-static {p1}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-virtual {v0, v1, v2}, Lrexsee/core/browser/clazz/EventList;->run(Ljava/lang/String;[Ljava/lang/String;)V

    goto :goto_0
.end method
